@import './reset';
@import './setting';
@import './flex';
@import './footer';
@import './bottomTab';

@function getvw($w) {
    @return calc($w / 375) * 100+vw;
}

.container {
    width: getvw(375);
    margin-bottom: getvw(51);
    background: #e9ecf0ff;

    header {
        width: 100%;
        @extend %columnCenter;
        margin-bottom: getvw(14);

        // 导航栏
        nav {
            width: 100%;
            height: getvw(52);
            @extend %center;
            background-color: #ffffff;
            position: relative;

            i {
                font-size: getvw(20);
                position: absolute;
                top: 50%;
                left: getvw(15);
                transform: translateY(-50%);
            }

            p {
                color: #555555ff;
                font-size: 16px;
                font-weight: 400;
            }
        }

        .cartContent {
            width: 100%;
            background-color: #ffffff;
            @extend %columnCenter;

            img {
                width: getvw(127);
                margin: getvw(50) 0 getvw(14);
            }

            p {
                margin-bottom: getvw(11);
                color: #555555ff;
                font-size: 14px;
                font-weight: 400;
            }

            a {
                color: #ffffffff;
                font-size: 14px;
                font-weight: 600;
                background: $themColor;
                padding: getvw(4) getvw(40) getvw(6);
                margin-bottom: getvw(50);
            }
        }
    }

    main {
        background: #f7f8f8ff;
        padding: getvw(15) 0 getvw(20);

        .content_Title {
            color: #555555ff;
            font-size: getvw(17.5);
            font-weight: 400;
            margin: getvw(15);
            margin-top: 0;
        }

        .content{
            @extend %aroundCenter;
            flex-wrap: wrap;
        }
        li {
            margin-bottom: getvw(10);
            box-shadow: 0 5px 10px 0 #dee2e5ff;
            a {
                display: block;

                img {
                    width: getvw(165);
                }

                .title {
                    color: #333333ff;
                    font-size: 14px;
                    font-weight: 400;
                    margin: getvw(19) 0 getvw(5) getvw(10) ;
                }

                .message {
                    @extend %betweenCenter;
                    margin:0 getvw(3) getvw(6) getvw(5);

                    p {
                        color: #ff4433ff;
                        font-size: 14px;
                        font-weight: 600;
                    }

                    span {
                        color: #999999ff;
                        font-size: 12px;
                        font-weight: 400;
                    }
                }
            }
        }
    }
}